/**
 * Copyright:  Copyright (c) 2013
 *
 * @FileName		: BSStatusDAOImpl.java
 * @PageName		: 
 * @Date			: 오후 5:33:21
 * @LastModifier	: 최경민
 * @LastModifyDate	: 
 * @LastModifier	: 
 * Change history	:
 */
package com.pulp.management.dao.impl;

import java.sql.SQLException;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport;

import com.pulp.management.dao.BSStatusDAO;
import com.pulp.management.model.BSStatusInfo;

/**
 * @author Administrator
 * 
 */
public class BSStatusDAOImpl extends SqlMapClientDaoSupport implements BSStatusDAO {
	

	/* (non-Javadoc)
	 * @see com.pulp.management.dao.BSStatusDAO#getPieChartList()
	 */
	@SuppressWarnings("unchecked")
	@Override
	public List<BSStatusInfo> getPieChartList() throws SQLException {
		Map mapArgs = new HashMap();
		return getSqlMapClientTemplate().queryForList("manage.PieChartList", mapArgs);
	}

	/* (non-Javadoc)
	 * @see com.pulp.management.dao.BSStatusDAO#getBSTableList()
	 */
	@SuppressWarnings("unchecked")
	@Override
	public List<BSStatusInfo> getBSTableList() throws SQLException {
		Map mapArgs = new HashMap();
		return getSqlMapClientTemplate().queryForList("manage.BSTableList", mapArgs);
	}

	/* (non-Javadoc)
	 * @see com.pulp.management.dao.BSStatusDAO#getColumnChartList()
	 */
	@SuppressWarnings("unchecked")
	@Override
	public List<BSStatusInfo> getColumnChartList() throws SQLException {
		Map mapArgs = new HashMap();
		
		return getSqlMapClientTemplate().queryForList("manage.ColumnChartList", mapArgs);
	}

	/* (non-Javadoc)
	 * @see com.pulp.management.dao.BSStatusDAO#getFinancialTableList()
	 */
	@SuppressWarnings("unchecked")
	@Override
	public List<BSStatusInfo> getFinancialTableList() throws SQLException {
		Map mapArgs = new HashMap();
		return getSqlMapClientTemplate().queryForList("manage.FinancialTableList", mapArgs);
	}


}
